<div class="contents">
    	<h1><?php echo $model->pag_name ?></h1>
 <!-- listado de los articulos -->  
 <?php foreach($model as $blogEntry): ?> 
        <div class="article_item">
            <h3>
            <span class="date">
                <span class="day"><?php echo date('M',strtotime($blogEntry->ble_date)); ?></span><br />
                <span class="number"><?php echo date('d',strtotime($blogEntry->ble_date)); ?></span>
            </span>
            <?php  echo $blogEntry->ble_title; ?>.</h3>
            <p><?php echo CString::truncate($blogEntry->ble_content, 300,''); ?></p>
            <a href="/preview/blogEntry/id/<?php echo $blogEntry->ble_code; ?>" class="smallmenu">Read more <img src="img/menuarrow_small.png" alt="Go!" class="arrowright" /></a>
        </div>
        
<?php endforeach; ?>        
        <div class="paginator">
        	
           <?php $this->widget('CLinkPager',array('pages'=>$pages,'header'=>'')); ?>
            
        </div>
</div>


